const HttpUtil = require('../utils/httpUtil')
const app = getApp();
const ipUrl = app.globalData.ipUrl+"/";
export function getVedios(typename){
    // console.log("typename:"+typename)
  return HttpUtil.request({
    url:ipUrl+'getvedio?type_id='+typename,
    method:'get',
  })
}
export function getVediosType(){
    return HttpUtil.request({
      url:ipUrl+'getvediotype/',
      method:'get',
    })
  }
  export function getRandomVideos(){
    return HttpUtil.request({
      url:ipUrl+'getrandomvideos/',
      method:'get',
    })
  }